package com.roadjava.tutor.handler.back.student;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 未登录/登录 的情况下前端页面控制器
 *
 * @author zhaodaowen
 * @see <a href="http://www.roadjava.com">乐之者java</a>
 */
@Controller
@RequestMapping("/student")
public class StudentHandler {
    /**
     * 到学生管理主页面
     */
    @GetMapping("/toMain")
    public String toManage() {
        return "back/student/studentMain";
    }
    /**
     * 到我的预约页面
     */
    @GetMapping("/toMyAppointment")
    public String toMyAppointment() {
        return "back/student/myAppointment";
    }
    /**
     * 到预约我的页面
     */
    @GetMapping("/toAppointMe")
    public String toAppointMe() {
        return "back/student/appointMe";
    }
}
